﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Kylin.Wiki.Model.View
{
    /// <summary>
    /// 部门视图
    /// </summary>
    public class DeptVM
    {
        /// <summary>
        /// 部门ID
        /// </summary> 
        public int DeptID { get; set; }

        /// <summary>
        /// 父级ID
        /// </summary> 
        public int PID { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary> 
        public string DeptName { get; set; }

        /// <summary>
        /// 部门状态
        /// </summary> 
        public bool? Status { get; set; }

        /// <summary>
        /// 部门排序
        /// </summary> 
        public int? OrderNum { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary> 
        public string IsDelete { get; set; }

        /// <summary>
        /// 创建人
        /// </summary> 
        public string CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary> 
        public DateTime? CreateOn { get; set; }

        /// <summary>
        /// 更新人
        /// </summary> 
        public string UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary> 
        public DateTime? UpdateOn { get; set; }

        /// <summary>
        /// 子级菜单
        /// </summary>
        public List<DeptVM> Children { get; set; }

    }
}
